package com.zw.yzk.kabu.domain.interactor;

/**
 * Created by zhanwei on 2016/12/24.
 */

public abstract class DefaultOnNext<T> extends rx.Subscriber<T> {
    @Override
    public void onCompleted() {

    }

    @Override
    public void onError(Throwable e) {
        e.printStackTrace();
    }

    @Override
    public void onNext(T t) {
        call(t);
    }

    public abstract void call(T var1);
}
